package com.kuang.scanner;

/**
 * @author wuJiaWei
 * @version 1.0
 * @date 2024/8/9
 * @time 11:14:35
 */
public class WhileDemo {
    public static void main(String[] args) {
        int i = 0;
        int sum = 0;
        while (i <= 100) {
            sum+= i;
            i++;
        }
        System.out.println(sum);
    }

}
